﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using EntityLayer;

namespace DataLayer.DAO
{
    public class clsT_Dist_JudicialDAO
    {
        private BDCONTRALORIAEntities ContextoDeObjs = new BDCONTRALORIAEntities();

        public List<T_Dist_Judicial> listarDistritoJudicial()
        {
            List<T_Dist_Judicial> listarDistritoJudicial = new List<T_Dist_Judicial>();
            var q = from c in ContextoDeObjs.T_Dist_Judicial
                    select c;
            listarDistritoJudicial = q.ToList();
            return listarDistritoJudicial;
        }
    }
}
